package com.spa.application.dto.member;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spa.infrastructure.enums.dict.order.OrderOperStatusEnum;
import com.spa.infrastructure.enums.dict.order.OrderStatusEnum;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class MemberOrderDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private OrderStatusEnum status;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long massagistId;

    private String massagistName;

    private String massagistWorkPhoto;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long serviceId;

    private String serviceName;

    private String travelType;

    private String travelPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointTime;

    private String orderPrice;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long ticketId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiryTime;

    private String serviceCover;

    private String cancelReason;

    private boolean hasComments;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private OrderOperStatusEnum operateStatus;

}

